
import java.io.IOException;

import com.master.util.Excecoes;
import com.master.util.print.TextPrint;
import com.master.util.print.properties.Center;
import com.master.util.print.properties.Rigth;

/*
 * Created on 11/05/2005
 *
 */

/**
 * @author Tiago
 *
 */
public class TesteImpressao {
    public static void main(String[] args) {
        TextPrint text;
        try {
            text = new TextPrint();
            Rigth RIGTH = new Rigth();
            Center CENTER = new Center();
            text.write(0, "TESTE DE IMPRESSAO 0123456789");
            text.nextPage();
            // // (text.getString());
            text.saveToFile("Nota_Fiscal_SAIDA.txt");
            text.Printer(true);
        } catch (Excecoes e) {
            e.printStackTrace();
        } catch (IOException e) {
            e.printStackTrace();
        }
        System.exit(0);
    }
}
